package day01.日期类.Acm;

import java.util.Scanner;

/**
 * @author feng
 * @Date 2022/1/3 20:38
 * 输入年份，打印年历
 */
public class Test5 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入年份(1900-2099):");
        int year = sc.nextInt();
        //判断闰年
        boolean isLeapYear = (year % 4 == 0 && year % 100 != 0) || year % 400 == 0 ? true : false;
        //总天数
        int total = (year % 4 == 0 && year % 100 != 0) || year % 400 == 0 ? 366 : 365;


    }
}
